﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;

using ProjectBase.Core;

namespace $safeprojectname$.Services
{
    public interface IControllerAccess
    {
        /// <summary>
        ///     The name of the controller, used for AccessRights evaluating
        /// </summary>
        string ControllerName { get; }

        /// <summary>
        ///     The role set of the Roles which are granted to access this controller.
        ///     More grained setting for actions is contained in the IRoleRights instance
        /// </summary>
        IEnumerable<IRoleAccess> Roles { get; }
    }
}